package com.ruoyi.project.wxuser.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 更新审核对象 user_update
 * 
 * @author wyh
 * @date 2024-06-14
 */
public class UserUpdate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 用户ID */
    private Long userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String email;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String avatar;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date brith;

    /** 身高(cm) */
    @Excel(name = "身高(cm)")
    private Double height;

    /** 体重(kg) */
    @Excel(name = "体重(kg)")
    private Double weight;

    /** 职业 */
    @Excel(name = "职业")
    private String occupation;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 城市编码 */
    @Excel(name = "城市编码")
    private String cityCode;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String status;

    /** 邀请人id */
    @Excel(name = "邀请人id")
    private Long inviterId;

    /** 邀请树 */
    @Excel(name = "邀请树")
    private String inviterTree;

    /** 树层级 */
    @Excel(name = "树层级")
    private Long treeLevel;

    /** 最上级id */
    @Excel(name = "最上级id")
    private Long topInviterId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setBrith(Date brith) 
    {
        this.brith = brith;
    }

    public Date getBrith() 
    {
        return brith;
    }
    public void setHeight(Double height)
    {
        this.height = height;
    }

    public Double getHeight()
    {
        return height;
    }
    public void setWeight(Double weight)
    {
        this.weight = weight;
    }

    public Double getWeight()
    {
        return weight;
    }
    public void setOccupation(String occupation) 
    {
        this.occupation = occupation;
    }

    public String getOccupation() 
    {
        return occupation;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setInviterId(Long inviterId) 
    {
        this.inviterId = inviterId;
    }

    public Long getInviterId() 
    {
        return inviterId;
    }
    public void setInviterTree(String inviterTree) 
    {
        this.inviterTree = inviterTree;
    }

    public String getInviterTree() 
    {
        return inviterTree;
    }
    public void setTreeLevel(Long treeLevel) 
    {
        this.treeLevel = treeLevel;
    }

    public Long getTreeLevel() 
    {
        return treeLevel;
    }
    public void setTopInviterId(Long topInviterId) 
    {
        this.topInviterId = topInviterId;
    }

    public Long getTopInviterId() 
    {
        return topInviterId;
    }

    @Override
    public String toString() {
        return "UserUpdate{" +
                "id=" + id +
                ", userId=" + userId +
                ", nickName='" + nickName + '\'' +
                ", email='" + email + '\'' +
                ", avatar='" + avatar + '\'' +
                ", brith=" + brith +
                ", height=" + height +
                ", weight=" + weight +
                ", occupation='" + occupation + '\'' +
                ", city='" + city + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", status='" + status + '\'' +
                ", inviterId=" + inviterId +
                ", inviterTree='" + inviterTree + '\'' +
                ", treeLevel=" + treeLevel +
                ", topInviterId=" + topInviterId +
                '}';
    }
}
